package org.jeecg.modules.power.user.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 会员配置
 * @Author: jeecg-boot
 * @Date:   2024-07-13
 * @Version: V1.0
 */
@Data
@TableName("yl_member")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_member对象", description="会员配置")
public class YlMember implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id 主键")
    private String id;
	/**会员名称*/
	@Excel(name = "会员名称", width = 15)
    @ApiModelProperty(value = "会员名称")
    private String name;
	/**会员价格*/
	@Excel(name = "会员价格", width = 15)
    @ApiModelProperty(value = "会员价格")
    private BigDecimal price;
	/**划线价格*/
	@Excel(name = "划线价格", width = 15)
    @ApiModelProperty(value = "划线价格")
    private BigDecimal underlinedPrice;
	/**月季类型 1 月卡 2季卡 3年卡 */
	@Excel(name = "月季类型 1 月卡 2季卡 3年卡 ", width = 15, dicCode = "member_type")
	@Dict(dicCode = "member_type")
    @ApiModelProperty(value = "月季类型 1 月卡 2季卡 3年卡 ")
    private Integer type;
	/**会员时长月份 1个月 3个月 12个月*/
	@Excel(name = "会员时长月份 1个月 3个月 12个月", width = 15)
    @ApiModelProperty(value = "会员时长月份 1个月 3个月 12个月")
    private Integer month;
	/**会员说明*/
	@Excel(name = "会员说明", width = 15)
    @ApiModelProperty(value = "会员说明")
    private String explains;
	/**会员免费时长（小时）*/
	@Excel(name = "会员免费时长（小时）", width = 15)
    @ApiModelProperty(value = "会员免费时长（小时）")
    private Integer freeDuration;
	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
}
